package com.evil.application.pojo.dto.button;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ButtonListReqDTO {

    @NotBlank(message = "应用key不能为空")
    private String applicationKey;

    @NotNull(message = "版本不能为空")
    private Integer version;

    /**
     * 列表页展示(0:关闭, 1:开)
     */
    private Integer inTable;

    /**
     * 详情页展示(0:关闭, 1:开)
     */
    private Integer inDetail;
}
